package com.binguo.wxapi.form;

import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class CreateProductForm {


    @ApiParam(value = "菜品id", required = true)
    @NotNull
    private Integer productId;


    @ApiParam(value = "菜品url", required = true)
    @NotNull
    private String productUrl;

    @Override
    public String toString() {
        return "CreateProductForm{" +
                "productId=" + productId +
                ", productUrl='" + productUrl + '\'' +
                '}';
    }
}
